<?php $__env->startSection('extra_css'); ?>
    <title><?php echo e($settings_general->site_title); ?></title>

    <title><?php echo e($settings_general->site_title); ?></title>

    <meta name="keywords" content="<?php echo e($settings_seo->seo_keywords); ?>">
    <meta name="description" content="<?php echo e($settings_seo->seo_description); ?>">

    <!--Twitter Card-->
    <meta property="twitter:card" content="summary"/>
    <meta property="twitter:site" content="<?php echo e($settings_social->twitter_handle); ?>"/>
    <meta property="twitter:title" content="<?php echo e($settings_general->site_title); ?>"/>
    <meta property="twitter:description"
          content="<?php echo e(\Illuminate\Support\Str::limit(trim(strip_tags($settings_seo->seo_description)),300)); ?>"/>
    <meta property="twitter:image" content="<?php echo e(URL::to($settings_general->logo_120)); ?>"/>
    <meta name="twitter:creator" content="<?php echo e($settings_social->twitter_handle); ?>">
    <meta property="twitter:url" content="<?php echo e($settings_general->site_url); ?>"/>

    <!--Og tags-->
    <meta property="og:site_name" content="<?php echo e($settings_general->site_title); ?>"/>
    <meta property="og:title" content="<?php echo e($settings_general->site_title); ?>"/>
    <meta property="og:description"
          content="<?php echo e(\Illuminate\Support\Str::limit(trim(strip_tags($settings_seo->seo_description)),300)); ?>"/>
    <meta property="og:type" content="article"/>
    <meta property="og:url" content="<?php echo e($settings_general->site_url); ?>"/>
    <meta property="og:image" content="<?php echo e(URL::to($settings_general->logo_120)); ?>"/>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
    <div class="container main-wrapper">
        <div class="main-content mag-content clearfix">

            <div class="row blog-content">
                <div class="col-md-8">
                    <h3 class="tag-title">Ooops... <span>Error 404</span></h3>

                    <p>Sorry, but the page you are looking for doesn't exist.</p>

                    <div class="search-div clearfix">
                        <form class="searchwidget-form" action="/search" method="GET">
                            <div class="input-group">
                                <input type="text" class="form-control" name="search" placeholder="Search...">
                  <span class="input-group-btn">
                    <button class="btn btn-default" type="button"><i class="fa fa-search"></i></button>
                  </span>
                            </div>
                        </form>
                    </div>
                    <!-- .search-div -->

                    <div class="row">
                        <div class="col-md-6">
                            <div class="widget categorywidget">
                                <h3 class="block-title"><span>Categories</span></h3>
                                <ul>
                                    <?php foreach($global_cats as $index => $cat): ?>
                                        <li>
                                            <a href="/category/<?php echo e($cat->slug); ?>"><?php echo e($cat->title); ?> <span
                                                        class="count"><?php echo e($cat->post_count); ?></span></a>
                                        </li>
                                    <?php endforeach; ?>
                                </ul>
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="widget tagwidget">
                                <h3 class="block-title"><span>Tags</span></h3>
                                <ul class="tags-widget">
                                    <?php foreach($popular_tags as $tag): ?>
                                        <li><a href="/tag/<?php echo e($tag->slug); ?>"><?php echo e($tag->title); ?></a></li>
                                    <?php endforeach; ?>
                                </ul>
                            </div>
                        </div>
                    </div>

                </div>
                <!-- End Left big column -->

                <div class="col-md-4">
                    <aside class="sidebar clearfix">

                        <?php if(isset($ads[\App\Ads::TYPE_SIDEBAR][0])): ?>
                            <div class="widget adwidget">
                                <?php echo $ads[\App\Ads::TYPE_SIDEBAR][0]->code; ?>

                            </div>
                        <?php endif; ?>

                        <?php if(isset($ads[\App\Ads::TYPE_SIDEBAR][1])): ?>
                            <div class="widget adwidget">
                                <?php echo $ads[\App\Ads::TYPE_SIDEBAR][1]->code; ?>

                            </div>
                        <?php endif; ?>

                        <div class="widget searchwidget">
                            <form action="/search" method="GET" class="searchwidget-form">
                                <div class="input-group">
                                    <input type="text" class="form-control" name="search" placeholder="Search...">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button"><i class="fa fa-search"></i></button>
          </span>
                                </div>
                            </form>
                        </div>

                        <?php if(!empty($settings_social->facebook_box_js)): ?>
                            <div class="widget tabwidget">
                                <?php echo $settings_social->facebook_box_js; ?>

                            </div>
                        <?php endif; ?>

                        <?php if(!empty($settings_social->twitter_box_js)): ?>
                            <div class="widget tabwidget">
                                <?php echo $settings_social->twitter_box_js; ?>

                            </div>
                        <?php endif; ?>

                        <div class="widget tagwidget">
                            <h3 class="block-title"><span>Tags</span></h3>
                            <ul class="tags-widget">
                                <?php foreach($popular_tags as $tag): ?>
                                    <li><a href="/tag/<?php echo e($tag->slug); ?>"><?php echo e($tag->title); ?></a></li>
                                <?php endforeach; ?>
                            </ul>
                        </div>

                        <div class="widget reviewwidget">
                            <h3 class="block-title"><span>Reviews</span></h3>

                            <?php foreach($review_posts as $review): ?>
                                <article class="widget-post clearfix">
                                    <div class="simple-thumb">
                                        <a href="/<?php echo e($review->slug); ?>">
                                            <img src="<?php echo e($review->featured_image); ?>" alt="">
                                        </a>
                                    </div>
                                    <header>
                                        <h3>
                                            <a href="<?php echo e($review->slug); ?>"><?php echo e($review->title); ?></a>
                                        </h3>

                                        <p class="simple-share pull-right">
           <span class="read_only_raty"
                 data-score="<?php echo e($review->average_rating); ?>"></span>
                                        </p>
                                    </header>
                                </article>
                            <?php endforeach; ?>
                        </div>
                        <!-- End review widget -->

                        <div class="widget categorywidget">
                            <h3 class="block-title"><span>Categories</span></h3>
                            <ul>
                                <?php foreach($global_cats as $cat): ?>
                                    <?php if($cat->show_in_sidebar == 1): ?>
                                        <li>
                                            <a href="/category/<?php echo e($cat->slug); ?>"><?php echo e($cat->title); ?> <span
                                                        class="count"><?php echo e($cat->post_count); ?></span></a>
                                        </li>
                                    <?php endif; ?>
                                <?php endforeach; ?>
                            </ul>
                        </div>

                        <?php if(!empty($settings_general->mailchimp_form)): ?>
                            <div class="widget adwidget subscribewidget">
                                <h3 class="block-title"><span>Subscribe</span></h3>

                                <p>We dont spam our loyal customers , you can unsubscribe anytime </p>

                                <?php echo $settings_general->mailchimp_form; ?>


                            </div>
                        <?php endif; ?>

                        <div class="widget social-links">
                            <h3 class="block-title"><span>Follow us</span></h3>
                            <ul class="social-list">

                                <?php if(strlen($settings_social->fb_page_url) > 0): ?>
                                    <li class="social-facebook">
                                        <a href="<?php echo e($settings_social->fb_page_url); ?>" data-toggle="tooltip"
                                           data-placement="bottom" title=""
                                           data-original-title="Facebook">
                                            <i class="fa fa-facebook"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if(strlen($settings_social->twitter_url) > 0): ?>
                                    <li class="social-twitter" data-toggle="tooltip" data-placement="bottom" title=""
                                        data-original-title="Twitter">
                                        <a href="<?php echo e($settings_social->twitter_url); ?>">
                                            <i class="fa fa-twitter"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if(strlen($settings_social->google_plus_page_url) > 0): ?>
                                    <li class="social-gplus">
                                        <a href="<?php echo e($settings_social->google_plus_page_url); ?>" data-toggle="tooltip"
                                           data-placement="bottom" title=""
                                           data-original-title="Google+">
                                            <i class="fa fa-google-plus"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if(strlen($settings_social->skype_username) > 0): ?>
                                    <li class="social-skype">
                                        <a href="skype:<?php echo e($settings_social->skype_username); ?>" data-toggle="tooltip"
                                           data-placement="bottom" title=""
                                           data-original-title="Skype">
                                            <i class="fa fa-skype"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if(strlen($settings_social->youtube_channel_url) > 0): ?>
                                    <li class="social-youtube">
                                        <a href="<?php echo e($settings_social->youtube_channel_url); ?>" data-toggle="tooltip"
                                           data-placement="bottom" title=""
                                           data-original-title="Youtube">
                                            <i class="fa fa-youtube"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if($settings_general->generate_rss_feeds == 1): ?>
                                    <li class="social-rss">
                                        <a href="/rss.xml" data-toggle="tooltip" data-placement="bottom" title=""
                                           data-original-title="RSS">
                                            <i class="fa fa-rss"></i>
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </div>
                        <!-- .widget .social-links -->

                        <?php for($i=2;$i<sizeof($ads[\App\Ads::TYPE_SIDEBAR]);$i++): ?>
                            <?php if(isset($ads[\App\Ads::TYPE_SIDEBAR][$i])): ?>
                                <div class="widget adwidget">
                                    <?php echo $ads[\App\Ads::TYPE_SIDEBAR][$i]->code; ?>

                                </div>
                            <?php endif; ?>
                        <?php endfor; ?>

                    </aside>
                </div>
            </div>

        </div>
    </div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>